package www.albertzhe.leval_signature.manager;

/**
 * 小组经理
 */
public class Manager_1_Group extends Manager {

    public Manager_1_Group() {
        super("小组经理", 4);
    }

    @Override
    public void execute(int level) {
        if (this.level > level) {
            System.out.println(this.name + "等级为 " + this.level + "，无权处理，需要等级为" + level + "，移交给下一级");
            getNext().execute(level);
        } else {
            System.out.println(this.name + "能处理，over。");
        }
    }
}
